Skip to content

Added debug logs to print response size, response body and response t…#83

Closed
subkanthi wants to merge 1 commit intomasterfrom
add_rest_api_debug_info
Closed

Added debug logs to print response size, response body and response t…#83
subkanthi wants to merge 1 commit intomasterfrom
add_rest_api_debug_info

Conversation

@subkanthi
Copy link
Collaborator

…ime. set logging level to DEBUG

@subkanthi
Copy link
Collaborator Author

2025-12-17 13:50:01 [61304908-31] DEBUG c.a.i.r.c.i.r.RESTCatalogServlet > Response: time=34ms, size=6250 bytes, body={"metadata-location":"s3://bucket1/nyc/taxis33/metadata/00003-e9c840c1-e053-421b-add0-2613da781943.metadata.json","metadata":{"format-version":2,"table-uuid":"11704257-2b14-4d31-a5b5-e9888bec9b28","location":"s3://bucket1/nyc/taxis33","last-sequence-number":3,"last-updated-ms":1766001001817,"last-column-id":20,"current-schema-id":0,"schemas":[{"type":"struct","schema-id":0,"fields":[{"id":1,"name":"VendorID","required":false,"type":"int"},{"id":2,"name":"tpep_pickup_datetime","required":false,"type":"timestamp"},{"id":3,"name":"tpep_dropoff_datetime","required":false,"type":"timestamp"},{"id":4,"name":"passenger_count","required":false,"type":"long"},{"id":5,"name":"trip_distance","required":false,"type":"double"},{"id":6,"name":"RatecodeID","required":false,"type":"long"},{"id":7,"name":"store_and_fwd_flag","required":false,"type":"string"},{"id":8,"name":"PULocationID","required":false,"type":"int"},{"id":9,"name":"DOLocationID","required":false,"type":"int"},{"id":10,"name":"payment_type","required":false,"type":"long"},{"id":11,"name":"fare_amount","required":false,"type":"double"},{"id":12,"name":"extra","required":false,"type":"double"},{"id":13,"name":"mta_tax","required":false,"type":"double"},{"id":14,"name":"tip_amount","required":false,"type":"double"},{"id":15,"name":"tolls_amount","required":false,"type":"double"},{"id":16,"name":"improvement_surcharge","required":false,"type":"double"},{"id":17,"name":"total_amount","required":false,"type":"double"},{"id":18,"name":"congestion_surcharge","required":false,"type":"double"},{"id":19,"name":"Airport_fee","required":false,"type":"double"},{"id":20,"name":"cbd_congestion_fee","required":false,"type":"double"}]}],"default-spec-id":0,"partition-specs":[{"spec-id":0,"fields":[]}],"last-partition-id":999,"default-sort-order-id":0,"sort-orders":[{"order-id":0,"fields":[]}],"properties":{"created-at":"2025-12-17T00:41:37.067386Z","schema.name-mapping.default":"[ {\n  \"field-id\" : 1,\n  \"names\" : [ \"VendorID\"...

@subkanthi subkanthi closed this Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments